package com.mm.learn.enume;/**
 * @author wdx
 * @create 2021-07-30 10:07
 */

import lombok.Getter;

/**
 * @author wdx
 * @date 2021年07月30日 10:07
 * 订单状态
 */
public enum OrderStatusEnum {

    CREATE_NEW(0, "待付款"),
    PAYED(1, "已付款"),
    SENDED(2, "已发货"),
    RECIEVED(3, "已完成"),
    CANCLED(4, "已取消"),
    SERVICING(5, "售后中"),
    SERVICED(6, "售后完成");

    OrderStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Getter
    private Integer code;
    @Getter
    private String msg;
}
